Web Systems Acceptance Tests and Code Generation

نویسندگان

  • Eduardo Aranha
  • Paulo Borba
چکیده

In Extreme Programming (XP) [2], acceptance tests are used to prove that the application works as the customer wishes. The available test languages offer low level of abstraction and legibility, because they are based in languages like Visual Basic and XML. GUI capture and playback tools facilitate the creation of test cases, though they have many limitations to program and maintain the test cases [1]. Acceptance tests interact with the GUI (Graphical User Interface) of the system, simulating the actions of users and verifying the information content presented. In Web systems, for example, the GUI is composed of Web pages and its components, like frames, links and images. In that way, the information about the GUI structure and behavior of a system can be found and extracted from its acceptance test cases, making possible the generation of part of the GUI code. This paper presents a language and an environment to program Web Systems acceptance test cases. Code generators are presented to improve productivity and to motivate the XP practice of creation of these tests before the implementation of the proper system.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Comparison of acceptance tests for SPECT systems in Tehran [Persian]

Introduction: Acceptance test is a necessary procedure after SPECT system installation. The goal of this test is to reveal system's present condition, to compare it with manufacturer's specifications and also as a base for later tests. Methods: This study investigated four SPECT systems in Tehran. All of the quality control tests are performed on the basis of NEMA and IAEA recommendations...

متن کامل

A Storytest-Driven Approach to the Migration of Legacy Systems

In this paper, we propose an agile approach, for the migration of legacy software which combines a user story-based iterative process with automated acceptance testing. The proposed approach, named Storytest-Driven Migration (STDM), requires that acceptance tests are written both on the legacy and target versions of a software system. Because of their relevance, the quality of automated accepta...

متن کامل

Code Generation as a Service

Code generation is an important tool in model-driven engineering. It eases the transition between designing models and implementing systems in code. This project aims to make code generation a web service, adding a layer of abstraction between the user’s models and the generator used to produce their code.

متن کامل

A Tool for Automated Test Code Generation from High-Level Petri Nets

Automated software testing has gained much attention because it is expected to improve testing productivity and reduce testing cost. Automated generation and execution of tests, however, are still very limited. This paper presents a tool, ISTA (Integration and System Test Automation), for automated test generation and execution by using high-level Petri nets as finite state test models. ISTA ha...

متن کامل

Java Enterprise Edition Support in Search-Based JUnit Test Generation

Many different techniques and tools for automated unit test generation target the Java programming languages due to its popularity. However, a lot of Java’s popularity is due to its usage to develop enterprise applications with frameworks such as Java Enterprise Edition (JEE) or Spring. These frameworks pose challenges to the automatic generation of JUnit tests. In particular, code units (“bean...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002